2020-2021 Sunseeker Telemetry and Lighting System
dac12_a_ex1_1V5Out.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 

Function Documentation

◆ main()

void main ( void  )

MSP430F6638 Example DAC12 - 1.5V Output on DAC12_0

Using DAC12_0 and AVcc reference with a gain of 1, output 1.5V on DAC0. ACLK = n/a, MCLK = SMCLK = default DCO

          MSP430F66x
      -----------------
  /|\|              XIN|-
   | |                 |
   --|RST          XOUT|-
     |                 |
     |        P7.6/DAC0|-> 1.5V
     |                 |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • DAC12 peripheral
  • GPIO Port peripheral
  • DAC0

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None.

Definition at line 65 of file dac12_a_ex1_1V5Out.c.

References param.